//
//  WBStatusToolBar.swift
//  weibo
//
//  Created by iobit on 2017/07/07.
//  Copyright © 2017 zhuxu. All rights reserved.
//

import UIKit

class WBStatusToolBar: UIView {

    var viewModel:WBStatusViewModel? {
        didSet {
            retweetButton.setTitle(viewModel?.retweetStr, for: .normal)
            commentButton.setTitle(viewModel?.commentStr, for: .normal)
            likeButton.setTitle(viewModel?.likeStr, for: .normal)
        }
    }
    
    
    /// 转发
    @IBOutlet weak var retweetButton: UIButton!
    /// 评论
    @IBOutlet weak var commentButton: UIButton!
    /// 赞
    @IBOutlet weak var likeButton: UIButton!

}
